# -*- coding: utf-8 -*-
'''
**********************************************************************
****************  smpy: Scientific Modelling in Python  **************
**********************************************************************
Copyright (c) 2013, Sergei Mingaleev (http://mingaleev.nanoscience.by)
All rights reserved.

Module "constants":
	Physical constants with their dimensions.
'''

from .units import units

# Speed of light in vacuum [m/s] (exact value - serves for definition of meter!):
c = 299792458.0*units['m/s']

# magnetic constant, also known as "vacuum permeability" [henry/meter]:
#mu_0 = 4.0e-7*pi (exact value)
mu_0 = 1.2566370614359173e-06*units['H/m']

# electric constant, also known as "vacuum permittivity" [farad/meter]:
#epsilon_0 = 1.0/(c*c*mu_0)  (exact value)
epsilon_0 = 8.854187817620389e-12*units['F/m']

